package com.duoec.magichour.core.utils;

import com.google.common.base.Strings;

/**
 * Created by ycoe on 17/7/3.
 */
public class MobileUtils {
    public static boolean isAvailabeMobile(String mobile) {
        if(Strings.isNullOrEmpty(mobile) && !mobile.startsWith("1")) {
            return false;
        }

        if(mobile.length() != 11) {
            return false;
        }

        return true;
    }
}
